package controllers;

import java.util.ArrayList;
import java.util.List;

import models.PlayerInfo;

public class PlayersPack 
{
	private List<PlayerInfo> players;
	
	public PlayersPack()
	{
		players = new ArrayList<PlayerInfo>();
	}
	public PlayerInfo newPlayer(int nr)
	{
		players.add(nr, new PlayerInfo());
		return players.get(nr);
	}
	public PlayerInfo getPlayer(int nr)
	{
		return players.get(nr);
	}
	
	
}
